package com.cy.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.cy.pojo.Pagespojo;

@Mapper
public interface Pagesdao {
	
	@Select("select * from pages where yid=#{id}")
	Pagespojo selectRo(String id);
	
	@Select("select COUNT(*) from pages where yid=#{id}")
	int copage(String id);
}
